/*
 * @Author: 番茄炒蛋蛋 wzh15802755802@163.com
 * @Date: 2024-05-11 09:08:42
 * @LastEditors: 番茄炒蛋蛋 wzh15802755802@163.com
 * @LastEditTime: 2024-05-21 17:32:37
 * @FilePath: \vue-element-admin-master-2\src\api\http.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

//修改某个管理员密码	
export function setadminpass(data) {
  return request({
    url: '/admapi.php/index/setadminpass/from/ajax',
    method: 'post',
    data
  })
}
//七牛云配置	
export function qiniuconfig(data) {
  return request({
    url: '/admapi.php/index/qiniuconfig/from/ajax',
    method: 'get',
  })
}
//省市区
export function pca(data) {
  return request({
    url: '/admapi.php/index/pca/from/ajax',
    method: 'post',
    data
  })
}
//系统分类【列表】	
export function list_systypes(data) {
  return request({
    url: '/admapi.php/index/list_systypes/from/ajax',
    method: 'post',
    data
  })
}
//系统信息	
export function sysinfo(data) {
  return request({
    url: '/admapi.php/index/sysinfo/from/ajax',
    method: 'post',
    data
  })
}
//修改系统信息		
export function update_sys(data) {
  return request({
    url: '/admapi.php/index/update_sys/from/ajax',
    method: 'post',
    data
  })
}